package cc.j1902.wfsort.provider.postbar.service.impl;

import cc.j1902.wfsort.dao.SortMapper;
import cc.j1902.wfsort.pojo.Sort;
import cc.j1902.wfsort.service.RpcDetailService;
import cc.j1902.wfsort.service.RpcSortService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
@Service(interfaceClass = RpcSortService.class)
public class SortServiceImpl implements RpcSortService{
    //22222
    @Resource
    private SortMapper sortMapper;
    @Override
    public List<Sort> getAllSort() {
        return sortMapper.getAllSort();
    }
}
